<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../static/layui/css/layui.css">
</head>
<body>

</body>
<script type="text/javascript" src="../static/layui/layui.all.js"></script>
<script type="text/javascript">
    function getSearch() {
        const obj = {};
        let search = location.search;
        search = search.substring(1);
        const arr = search.split("&");
        for (const arrKey of arr) {
            const keyArr = arrKey.split("=");
            obj[keyArr[0]] = keyArr[1];
        }
        return obj;
    }

    const obj = getSearch();
    location.href = "http://uri.amap.com/poidetail?poiid=" + obj.id + "&src=mypage&callnative=0";
</script>
</html>